package core.util
{
	import flash.events.IEventDispatcher;
	
	public class ViewUtil
	{
		public function ViewUtil(lock:Lock)
		{
			if(lock == null)
			{
				throw new Error("ViewUtil can not be init");
			}
		}
		
		private static var _view:ViewUtil = null;
		public static function getInstance():ViewUtil
		{
			if(_view == null)
			{
				_view = new ViewUtil(new Lock());
			}
			return _view;
		}
		
		public var mainStage:IEventDispatcher = null;
	}
}
class Lock{}